﻿#pragma once
#include "../../../StdAfx.h"                                                                                                                                       
#include"../../../QuantyView3DView.h"
#include "../../DIO/DIO.h"
#include "resource2.h"

// ZKFCTZ 对话框

class ZKFCTZ : public CDialogEx
{
	DECLARE_DYNAMIC(ZKFCTZ)

public:
	ZKFCTZ(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~ZKFCTZ();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_ZKFCTZIN };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	User_ST user;
	CQuantyView3DView* view;
	DECLARE_MESSAGE_MAP()
public:
	CEdit ZKFC_KTQBH;
	CEdit ZKFC_ZKBH;
	CEdit ZKFC_YCXH;
	CEdit ZKFC_FCH;
	CEdit ZKFC_YSFCKS;
	CEdit ZKFC_FCYXCD;
	CEdit ZKFC_YSQM;
	CEdit ZKFC_BZ;
	CEdit ZKFC_YCQJ;
	virtual BOOL OnInitDialog();
	CListCtrl ZKFC_LIST;
	afx_msg void OnBnClickedZkfcAdd();
	CComboBox m_zkfcktqbh;
	CComboBox m_zkfczkbh;
	afx_msg void OnCbnSelchangeComboZkfcktqbh();
	afx_msg void OnCbnSelchangeComboZkfczkbh();

	void setView(CQuantyView3DView* view__)
	{
		view = view__;
		user = view->getUser();

	}
	afx_msg void OnEnChangeZkfcYcxh();
};
